<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>边框图片</title>
<style>
#border_image {
    margin:0 auto;
    height:200px;
    line-height:100px;
    text-align:center;
    font-size:30px;
    width:450px;
    border:36px solid #ccc;
    /*background:url(2.jpg)  repeat;*/
    /*border-image: url(2.jpg) 15 repeat;*/
    border-image: url(border-img.png) 36 repeat;
    /*border-image: url(border-img.png) 36 stretch;*/
    /*background: rgba(r,g,b,a);*/
    background: rgba(100,120,50,0.5);
    }
</style>
</head>
<body>
<div id="border_image">
请为我镶嵌上漂亮的画框吧
</div>
</body>
</html>